﻿<%@ Page Title="" Language="C#" MasterPageFile="~/PortalParts/PageMore.Master" AutoEventWireup="true" CodeBehind="PossyAppointment.aspx.cs" Inherits="ZHDJ.Web.Portal.Possy.PossyAppointment" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        function su() {
            window.location.href = window.location.href;
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <f:PageManager ID="PageManager1"  runat="server" />

            <f:Form runat="server" ShowBorder="false" ShowHeader="false" ID="Form21" Margin="5 5 5 5">

                <Items>
                    <f:ContentPanel runat="server" ID="sdfsdf" ShowBorder="false">
                        <div class="cztable mycontactinfo" style="margin-top: 20px;">
                            <table class="table_b" border="0" cellspacing="0" cellpadding="0">
                                <tr class="tr_b">
                                    <th class="th_b">申请组织<span style="color: red">*</span>：</th>
                                    <td class="td_b" colspan="3" style="text-align: left;">
                                        <f:TwinTriggerBox runat="server" ID="ppApplyBranch" ShowTrigger1="true" Width="557px"
                                            ShowTrigger2="true" Trigger1Icon="Clear" EnableEdit="false" >
                                        </f:TwinTriggerBox>
                                    </td>

                                </tr>
                                <tr class="tr_b">
                                    <th class="th_b">预约时间<span style="color: red">*</span>： </th>
                                    <td colspan="3" class="td_b" style="text-align: left;">
                                        <f:DatePicker runat="server" Width="200px" DateFormatString="yyyy-MM-dd"
                                            ID="dtAppointmentTime" ShowRedStar="True" Required="true">
                                        </f:DatePicker>
                                        <f:DropDownList ID="ddlAppointmentTimeSpen" LabelAlign="right" runat="server">
                                            <f:ListItem Text="09:00-10:00" Value="09:00-10:00" />
                                            <f:ListItem Text="10:30-11:30" Value="10:30-11:30" />
                                            <f:ListItem Text="14:30-15:30" Value="14:30-15:30" />
                                            <f:ListItem Text="16:00-17:00" Value="16:00-17:00" />
                                        </f:DropDownList>
                                    </td>

                                </tr>
                                <tr class="tr_b">
                                    <th class="th_b">来访事由<span style="color: red">*</span>： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:DropDownList ID="ddlVisitReason" EmptyText="请选择来访事由"  Width="200px" runat="server" ShowRedStar="True" Required="true">
                                        </f:DropDownList>
                                    </td>
                                    <th class="th_b">人数<span style="color: red">*</span>： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:NumberBox runat="server" Width="200px" MinValue="0" ID="txtPeopleCount" ShowRedStar="True" Required="true"></f:NumberBox>
                                    </td>
                                </tr>
                                <tr class="tr_b">
                                    <th class="th_b">预约人<span style="color: red">*</span>： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:TextBox ID="txtUserName" Width="200px" runat="server" Required="true" ShowRedStar="true">
                                        </f:TextBox>
                                    </td>
                                    <th class="th_b">联系电话<span style="color: red">*</span>： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:TextBox ID="txtMobileNo" Width="200px" runat="server" Required="true" ShowRedStar="true">
                                        </f:TextBox>
                                    </td>
                                </tr>
                                <tr class="tr_b">
                                    <th class="th_b">带队人员<span style="color: red">*</span>： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:TextBox ID="txtLeader" Width="200px" runat="server" Required="true" ShowRedStar="true">
                                        </f:TextBox>
                                    </td>
                                    <th class="th_b">职务<span style="color: red">*</span>： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:TextBox ID="txtLeaderPosition" Width="200px" runat="server" Required="true" ShowRedStar="true">
                                        </f:TextBox>
                                    </td>
                                </tr>

                                <tr class="tr_b">
                                    <th class="th_b">预约阵地： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:DropDownList Width="200px" ID="ddlPossy" AutoPostBack="true" OnSelectedIndexChanged="ddlPossy_SelectedIndexChanged"  runat="server" >
                                        </f:DropDownList>
                                    </td>
                                    <th class="th_b">所属组织： </th>
                                    <td class="td_b" style="text-align: left;">
                                        <f:TextBox ID="txtPossyBranch" Width="200px" runat="server" Readonly="true" >
                                        </f:TextBox>
                                    </td>
                                </tr>
                                <tr class="tr_b">
                                    <th class="th_b">备注<span style="color: red">*</span>：  </th>
                                    <td colspan="3" class="td_b" style="text-align: left;">
                                        <f:TextArea runat="server" ID="txtDesc" Height="100px" Width="557px"></f:TextArea>
                                    </td>

                                </tr>
                                <tr class="tr_b mysubtn">
                                    <td class="td_b" colspan="4" style="text-align: center">
                                        <f:Button ID="btnSave" ValidateForms="Form21" OnClick="btnSave_Click" CssClass="mybtn" runat="server" Text="提交"></f:Button>
                                    </td>

                                </tr>
                            </table>
                        </div>
                    </f:ContentPanel>
                </Items>
            </f:Form>
     

    <f:Window ID="Window1" CloseAction="Hide" runat="server" IsModal="true" Title="选择申请组织"
        Hidden="true" Target="Parent" EnableResize="true" EnableMaximize="true" EnableIFrame="true"
        IFrameUrl="about:blank" Width="700px" Height="500px">
    </f:Window>

    <f:HiddenField ID="hdBranchID" runat="server"></f:HiddenField>
</asp:Content>
